package com.example.libraryapp.activity.bookList;

import com.example.libraryapp.bean.Book;
import com.example.libraryapp.bean.User;
import com.example.libraryapp.bean.response.BaseResponse;
import com.example.libraryapp.network.base.IBaseView;

import java.util.List;

/**
 * @author 伍凯铭
 * @since 2020/6/22
 */
public interface BookListContract {

    interface View extends IBaseView {
        void showBooks(BaseResponse<List<Book>> response);
    }

    interface Presenter {
        void getBooksByType(long typeId);
    }
}
